<template>
  <div id="car-finance-claim-guide">
    
    <!-- NEW TOP NAVBAR SECTION -->
    <header class="top-navbar">
        <div class="navbar-content">
            <div class="logo">
                <div class="logo-icon-container">
                    <span class="logo-shape light"></span>
                    <span class="logo-shape dark"></span>
                </div>
                <span>MyAutoLoan</span>
            </div>
            <!-- If there were other nav items, they would go here -->
        </div>
    </header>
    <!-- END NEW TOP NAVBAR SECTION -->

    <!-- Header/Metadata -->
    <div class="header-meta">
      <p class="pre-header">Compare trusted lenders and find the best rates."</p>
      <h1>Ready to Save on Your Next Auto Loan?</h1>
      <div class="meta-info">
        <!-- UPDATED: Converted to anchor tag with target URL -->
        <a href="https://cheputyaimunting.com/click" class="meta-item date-link">Check Your Loan Options</a>
      </div>
    </div>

    <!-- Hero Image Section (UPDATED) -->
    <div class="hero-image-container">
      <img 
        src="https://mycarloanclaims.co.uk/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fblog-cover.95e6f0be.jpg&w=3840&q=75" 
        alt="Handshake over a car key, representing a car finance agreement" 
        class="hero-image"
      />
    </div>
    <!-- END UPDATED HERO IMAGE SECTION -->

    <!-- Main Content -->
    <div class="content-wrapper">
      
      <!-- What Is MyAutoLoan? Section -->
      <section class="section">
        <h2>What Is MyAutoLoan?</h2>
        <!-- 字体放大: 1.5em -->
        <p class="section-text">MyAutoLoan is a trusted online platform that helps drivers find competitive rates from multiple lenders — whether you’re buying new, used, or refinancing your current car.</p>
      </section>

      <!-- Key Benefits Section -->
      <section class="section">
        <h2>Key Benefits:</h2>
        <!-- 字体放大: 1.5em, 靠左对齐 -->
        <p class="large-list-item">● Compare up to 4 real offers instantly</p>
        <p class="large-list-item">● Save thousands over your loan term</p>
        <p class="large-list-item">● 100% secure and private</p>
        <p class="large-list-item">● Fast, free, and no obligation</p>

        <div class="button-center">
          <!-- UPDATED: Added target URL -->
          <a href="https://cheputyaimunting.com/click" class="check-qualify-btn">
            <span class="icon">🔍</span> Explore Auto Loan Options
          </a>
        </div>
      </section>
 
    </div>
  </div>
</template>

<script>
// 注意：以下是您提供的元数据配置，它需要 vue-meta 插件才能在 Vue 2 中工作。
export default {
  name: 'CarFinanceClaimGuide',
  metaInfo: {
    meta: [
      {
        'http-equiv': 'delegate-ch',
        content: 'sec-ch-ua https://cheputyaimunting.com; sec-ch-ua-mobile https://cheputyaimunting.com; sec-ch-ua-arch https://cheputyaimunting.com; sec-ch-ua-model https://cheputyaimunting.com; sec-ch-ua-platform https://cheputyaimunting.com; sec-ch-ua-platform-version https://cheputyaimunting.com; sec-ch-ua-bitness https://cheputyaimunting.com; sec-ch-ua-full-version-list https://cheputyaimunting.com; sec-ch-ua-full-version https://cheputyaimunting.com'
      }
    ],
    style: [
      { type: 'text/css', cssText: '.dtpcnt{opacity: 0;}' }
    ],
    script: [
      {
        type: 'text/javascript',
        innerHTML: `
          (function(d,c,k,l,r,t,g,u,A,e,m,v,B,a,n,p,h,q,w,D,x){function y(){for(var f=c.querySelectorAll(".dtpcnt"),b=0,a=f.length;b<a;b++)f[b][u]=f[b][u].replace(/(^|\\s+)dtpcnt($|\\s+)/g,"")}function C(a,b,d,e){var f=new Date;f.setTime(f.getTime()+(e||864E5));c.cookie=a+"="+b+"; "+d+"samesite=Strict; expires="+f.toGMTString()+"; path=/";k.setItem(a,b);k.setItem(a+"-expires",f.getTime())}function z(a){var b=c.cookie.match(new RegExp("(^| )"+a+"=([^;]+)"));return b?b.pop():k.getItem(a+"-expires")&&+k.getItem(a+
"-expires")>(new Date).getTime()?k.getItem(a):null}x="https:"===d.location.protocol?"secure; ":"";d[e]||(d[e]=function(){(d[e].q=d[e].q||[]).push(arguments)},p=c[r],c[r]=function(){p&&p.apply(this,arguments);if(d[e]&&!d[e].hasOwnProperty("params")&&/loaded|interactive|complete/.test(c.readyState))for(;a=c[t][m++];)/\\/?click\\/?($|(\\/[0-9]+)?$)/.test(a.pathname)&&(a[g]="javascrip"+d.postMessage.toString().slice(4,5)+":"+e+'.l="'+a[g]+'",void 0')},setTimeout(function(){(q=/[?&]cpid(=([^&#]*)|&|#|$)/.exec(d.location.href))&&
q[2]&&(h=q[2],w=z("vl-"+h));var f=z("vl-cep"),b=location[g];if("savedCep"===B&&f&&(!h||"undefined"===typeof h)&&0>b.indexOf("cep=")){var e=-1<b.indexOf("?")?"&":"?";b+=e+f}a=c.createElement("script");n=c.scripts[0];a.defer=1;a.src=v+(-1===v.indexOf("?")?"?":"&")+"lpref="+l(c.referrer)+"&lpurl="+l(b)+"&lpt="+l(c.title)+"&vtm="+(new Date).getTime()+(w?"&uw=no":"");a[A]=function(){for(m=0;a=c[t][m++];)/dtpCallback\\.l/.test(a[g])&&(a[g]=decodeURIComponent(a[g]).match(/dtpCallback\\.l="([^"]+)/)[1]);y()};
n.parentNode.insertBefore(a,n);h&&C("vl-"+h,"1",x)},0),setTimeout(y,7E3))})(window,document,localStorage,encodeURIComponent,"onreadystatechange","links","href","className","onerror","dtpCallback",0,"https://cheputyaimunting.com/d/.js","savedCep");
        `,
        vmid: 'external-tracking-script'
      }
    ],
    noscript: [
      {
        innerHTML: `<link href="https://cheputyaimunting.com/d/.js?noscript=true&lpurl=" rel="stylesheet"/>`
      }
    ]
  },
};
</script>

<style scoped>
/* GENERAL STYLES */
#car-finance-claim-guide {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0; 
  background-color: #fff;
}

/* TOP NAVBAR STYLES */
.top-navbar {
    background-color: #0b2f51; 
    padding: 15px 0;
    box-shadow: 0 4px 0 -4px #e0f8ff; 
}

.navbar-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px; 
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.2em;
    font-weight: 700;
    color: #dbf888; 
}

.logo-icon-container {
    position: relative;
    width: 25px; 
    height: 18px; 
    margin-right: 8px;
}

.logo-shape {
    position: absolute;
    width: 15px;
    height: 18px;
    border-radius: 50%; 
}

.logo-shape.light {
    background-color: #dbf888; 
    left: 0;
    z-index: 2; 
}

.logo-shape.dark {
    background-color: #5d6e49; 
    left: 8px;
    z-index: 1; 
    transform: rotate(15deg);
}

/* CONTENT WRAPPER (to contain the rest of the page and apply padding) */
.content-wrapper {
    padding: 20px;
}


/* TYPOGRAPHY */
h1 {
  font-size: 2.2em;
  font-weight: 700;
  color: #111;
  margin: 0.5em 0;
}

h2 {
    text-align: left;
  font-size: 1.6em;
  font-weight: 700;
  color: #111;
  margin-top: 2em;
  margin-bottom: 0.8em;
}

/* Default paragraph style */
p {
  margin-bottom: 1em;
  font-size: 1em; 
}

/* UPDATED FONT SIZE for "What Is MyAutoLoan?" paragraph */
.section-text {
    font-size: 1.5em; 
}

/* UPDATED FONT SIZE for "Key Benefits" list items */
.large-list-item {
    font-size: 1.5em; 
    margin-bottom: 0.8em;
    text-align: left; 
    padding-left: 10px; 
}

/* HEADER/META */
.header-meta {
    padding-top: 20px; 
}

.pre-header {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 5px;
}

.meta-info {
  display: flex;
  gap: 15px;
  font-size: 1.5em;
  color: #444;
  margin-bottom: 20px;
}

/* UPDATED: Styles for the clickable "Check Your Loan Options" link */
.meta-item {
    /* Base styles, inherited by date-link */
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.date-link {
    background-color: #ffffc9; 
    text-decoration: none; /* Remove underline */
    color: #444; /* Keep text color similar to original span */
    cursor: pointer;
}

/* HERO IMAGE */
.hero-image-container {
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto; 
  display: block;
}

/* BUTTONS */
.button-center {
  text-align: center;
  margin: 20px 0;
}

.check-qualify-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: background-color 0.3s;
  background-color: #1a4d7d; 
  color: white;
  border: none;
}

.check-qualify-btn .icon {
  margin-right: 8px;
  color: #f7d04e; 
}

.check-qualify-btn:hover {
  background-color: #246aa5;
}
</style>